
import request from '@/utils/request'

export function applyGoodsApplication(data) {
  return request({
    url: '/api/base/goods_application/apply',
    method: 'post',
    data
  })
}

export function handleGoodsApplication(data) {
  return request({
    url: '/api/base/goods_application/handle',
    method: 'post',
    data
  })
}

export function auditGoodsApplication(data) {
  return request({
    url: '/api/base/goods_application/audit',
    method: 'post',
    data
  })
}

export function cancelGoodsApplication(data) {
  return request({
    url: '/api/base/goods_application/cancel',
    method: 'post',
    data
  })
}

export function pageGoodsApplication(data) {
  return request({
    url: '/api/base/goods_application/page',
    method: 'post',
    data
  })
}

export function listPreOptions() {
  return request({
    url: '/api/base/goods_application/list_pre_options',
    method: 'get'
  })
}


export function listGoodsApplication(data) {
  return request({
    url: '/api/base/item/list',
    method: 'post',
    data
  })
}